﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZF.WS.UserControls
{
    public partial class QuickNav : System.Web.UI.UserControl
    {
        public List<Model.Dic_Area> GDCity {

            get
            {
                return BLL.DictionaryConfig.HArea.Where(p => p.ParentId == 0 && p.Name!="广州市").ToList();
            }
        }
        public List<Model.Dic_Area> GZCity
        {

            get
            {
                var gz = BLL.DictionaryConfig.HArea.FirstOrDefault(p => p.Name == "广州市");

                return BLL.DictionaryConfig.HArea.Where(p => p.ParentId == gz.AreaId).ToList();
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
             
        }
    }
}